package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcBasenType;
import cn.besbing.model.entities.primary.NcBasenTypeExample;
import cn.besbing.model.mapper.primary.NcBasenTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcBasEnType implements NcBasenTypeMapper {

    @Autowired(required = false)
    NcBasenTypeMapper ncBasenTypeMapper;


    @Override
    public long countByExample(NcBasenTypeExample example) {
        return ncBasenTypeMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcBasenTypeExample example) {
        return ncBasenTypeMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkBasenType) {
        return ncBasenTypeMapper.deleteByPrimaryKey(pkBasenType);
    }

    @Override
    public int insert(NcBasenType record) {
        return ncBasenTypeMapper.insert(record);
    }

    @Override
    public int insertSelective(NcBasenType record) {
        return ncBasenTypeMapper.insertSelective(record);
    }

    @Override
    public List<NcBasenType> selectByExample(NcBasenTypeExample example) {
        return ncBasenTypeMapper.selectByExample(example);
    }

    @Override
    public NcBasenType selectByPrimaryKey(String pkBasenType) {
        return ncBasenTypeMapper.selectByPrimaryKey(pkBasenType);
    }

    @Override
    public int updateByExampleSelective(NcBasenType record, NcBasenTypeExample example) {
        return ncBasenTypeMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcBasenType record, NcBasenTypeExample example) {
        return ncBasenTypeMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcBasenType record) {
        return ncBasenTypeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcBasenType record) {
        return ncBasenTypeMapper.updateByPrimaryKey(record);
    }
}
